﻿Imports DAO, DTO

Public Class TacGiaBUS
    Public Function LayThongTinTacGiaTheoMa(ByVal maTacGia As Integer) As TacGiaDTO
        Dim dao As New TacGiaDAO
        Return dao.LayThongTinTacGiaTheoMa(maTacGia)
    End Function

    Public Function LayDSTacGia() As List(Of TacGiaDTO)
        Dim dao As New TacGiaDAO()
        Return dao.LayDSTacGia()
    End Function
    Public Function CapNhatTacGia(ByVal sql As String) As Integer
        Dim dao As New TacGiaDAO()
        Return dao.CapNhatTacGia(sql)
    End Function

    Public Function ThemTacGia(ByVal sql As String) As Integer
        Dim dao As New TacGiaDAO()
        Return dao.ThemTacGia(sql)
    End Function


End Class
